/*
 * 透明度
 * @see http://css-tricks.com/css-transparency-settings-for-all-broswers/
 */
.opacity-30() {
	zoom: 1;
	filter: alpha(opacity = 30);
	opacity: 0.3;

}

.opacity-50() {
	zoom: 1;
	filter: alpha(opacity = 50);
	opacity: 0.5;

}

.opacity-60() {
	zoom: 1;
	filter: alpha(opacity = 60);
	opacity: 0.6;

}

.opacity-80() {
	zoom: 1;
	filter: alpha(opacity = 80);
	opacity: 0.8;

}

/*
 * 圆角
 */
.rounded(@value) {
	-moz-border-radius: @value;
	-webkit-border-radius: @value;
	border-radius: @value;
	behavior: url(http://www.100msm.com/assets/PIE-1.0.0/PIE.htc);
}

/**
 * 雅黑
 */
.font_family_yahei() {
	font-family: "\5FAE\8F6F\96C5\9ED1", "\5B8B\4F53";
}

.btn() {
	display: block;
	text-align: center;
	overflow: hidden;
}

.hidden {
	display: none;
}

.btn-1 {
	.btn();
	background-color: #ff5113;
	color: #fff;
	line-height: 26px;
	width: 81px;
}

.btn-2 {
	.btn();
	color: #ff5113;
	border: 1px solid #ff5113;
	line-height: 23px;
	height: 23px;
	width: 53px;
	padding-left: 26px;
}

.btn-3 {
	.btn();
	color: #fff;
	background-color: #9e9e9e;
	line-height: 20px;
	width: 76px;
}

.btn1(@width, @height, @color_b: #ff5113, @color_f: #fff) {
	display: block;
	text-align: center;
	line-height: @height;
	width: @width;
	background-color: @color_b;
	color: @color_f;
}

.btn2(@width, @height) {
	display: block;
	text-align: center;
	line-height: @height;
	width: @width;
	color: #9e9e9e;
	border: 1px solid #ccc;
}

.price_symbol() {
	font-family: arial;
}

.price_figure() {
	font-family: verdana, arial;
}

.singleline_cutoff(@width: auto) {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	width: @width;
}